﻿<%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="RedemptoristRetreatCenter.Account.Login" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <hgroup class="title">
        <h1><%: Title %>.</h1>
    </hgroup>

    <p class="validation-summary-errors">
        <asp:Literal runat="server" ID="FailureText" />
    </p>

    <table style="width: 100%;">
        <tr>
            <td><asp:Label ID="Label1" runat="server" AssociatedControlID="UserName">User name</asp:Label></td>
            <td><asp:TextBox runat="server" ID="UserName" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="The user name field is required." /></td>
                <%--<asp:Literal ID="errorUserNameMessage" runat="server"></asp:Literal></td>--%>
        </tr>
        <tr>
            <td><asp:Label ID="Label2" runat="server" AssociatedControlID="Password">Password</asp:Label></td>
            <td><asp:TextBox runat="server" ID="Password" TextMode="Password" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." /></td>
           <%-- <asp:Literal ID="errorPasswordMessage" runat="server"></asp:Literal></td>--%>
        </tr>
    </table>
    <asp:Button runat="server" CommandName="Login" Text="Log in" OnClick="Login_Click" ID="UserLogin" ForeColor="Blue"/>
</asp:Content>
